
## Autoconf/Automake

AC_INIT([xminou], [0.2], [raxxx.fr@gmail.com])
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)

AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([src/xminou.cc])

AC_PROG_CC
AC_PROG_CXX
AC_PROG_INSTALL

## Check for thread support

AC_CHECK_LIB(pthread, pthread_create)

## Check for NCurses

AC_CHECK_LIB(ncurses, wscanf)
AC_CHECK_HEADERS(ncurses.h)

AC_OUTPUT([Makefile
           src/Makefile])
